package mspbots.cw.business.core.tickets;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import mspbots.cw.business.core.BaseTenantEntity;
import org.springframework.data.relational.core.mapping.Table;

import java.time.LocalDateTime;

@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@Table("connectwise_ticket_task")
public class TicketTask extends BaseTenantEntity {

    private Long taskId;
    private Long ticketId;
    private String notes;
    private Boolean closedFlag;
    private Long priority;
    private String resolution;
    private String childScheduleAction;
    private Long childTicketId;
    private LocalDateTime lastUpdated;
    private LocalDateTime syncTime;
}
